package cn.com.bob.api;

import cn.com.bob.dto.Msg;
import cn.com.bob.entity.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

public interface OrderApi {
    @RequestMapping("/getPort")
    String getPort();

    @GetMapping("/")
    String getOrder();

    @PostMapping("/buyOrder")
    Msg buyOrder(Order order);
}
